#include "object.h"

using namespace spacedefender;

int Object::NEXT_OBJECT_ID = 1;

Object::Object(std::string type) : _objectId(Object::NEXT_OBJECT_ID++), _objectType(type)
{
}

Object::Object() : _objectId(Object::NEXT_OBJECT_ID++)
{
}


Object::~Object()
{
}


const int Object::GetObjectId() const
{
	return _objectId;
}

const std::string Object::GetObjectType() const
{
	return _objectType;
}
